#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include "ctitlebar.h"
#include "cframelesswidgetbase.h"

QT_BEGIN_NAMESPACE
namespace Ui {
class Widget;
}
QT_END_NAMESPACE

class Widget : public CFrameLessWidgetBase
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();

private:
    void initUI();
CTitleBar* m_pTitleBar = nullptr;
private slots:
    void on_closeSlot();


};
#endif // WIDGET_H
